{% extends "base.html" %}
{% block title %}首页{% endblock %}
{% block pagename %}Ping测试{% endblock %}
{% block content %}
    <div class="row">
      <form action="/ping_test_go/" method="get">
      <div class="col-lg-6">
        <div class="input-group">
          <input type="text" class="form-control" name="ipaddr">
          <span class="input-group-btn">
            <button class="btn btn-default" type="submit">Go!</button>
          </span>
        </div><!-- /input-group -->
      </div><!-- /.col-lg-6 -->
      </form>
    </div>
    {% for item in bak %}
        <p>{{ item }}</p>
    {% endfor %}
{% endblock %}